<div id="content_login" class="container">
        <div class="row">
            用户登录|{$hint}
        </div>
            <div class="row">
                <div class="col-xs-1 col-sm-2"></div>
                <div class="col-xs-10 col-sm-8">
                    <form action="/checklogin" method="post" role="form">
                        <br>
                        <div class="row form-group" >
                            <input id="number"  autoComplete="current-password" class="form-control" type="text" name="account" placeholder="名字|邮箱">
                        </div>
                        <br>
                        <div class="row">
                            <input id="pasw" autoComplete="current-password" class="form-control" type="password" name="password" placeholder="密码" >
                        </div>
                        <br>
                        <div class="row form-group">
                            <div class="col-xs-6 col-sm-6">
                                <input class="form-control" type="text" name="code" placeholder="验证码">
                            </div>
                            <div class="col-xs-6 col-sm-6">
                                {include file="public/common/code"/}
                            </div>
                        </div>
                        <br>
                        <div class="row">
                            <button id="control_login_submit" type="submit" class="btn btn-success btn-lg">登录</button>
                            <a href="/user/register"><button  type="button" class="btn btn-default btn-lg">注册</button></a>
                        </div>
                    </form>
                    <hr>
                    <div class="row">
                        <span style="font-size: 13px">第三方登录：</span>
                        <a  href="#" onclick='toQzoneLogin()'>
                            <img src="/static/image/login_qq.png" width="30" alt="qq">
                        </a>
                    </div>
                </div>
                <div class="col-xs-1 col-sm-2"></div>
            </div>
</div>
<script type="text/javascript">
    var childWindow;
    function toQzoneLogin()
    {
        childWindow = window.open("/test/qqlogin","TencentLogin","width=450,height=320,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
    }

    function closeChildWindow()
    {
        childWindow.close();
    }
</script>